package com.vr.cloudpicture.manager.websocket.model;

import com.vr.cloudpicture.model.dto.user.UserLogin;
import lombok.Data;
import org.springframework.web.socket.WebSocketSession;

import java.io.Serializable;

/**
 * 图片编辑事件
 *
 * @author hzh
 * @date 2025/05/28
 */
@Data
public class PictureEditEvent implements Serializable {
    private static final long serialVersionUID = -1596146515395249676L;

    /**
     * 消息
     * */
    private PictureEditRequestMessage pictureEditRequestMessage;
    /**
     * 当前用户的会话
     * */
    private WebSocketSession session;
    /**
     * 当前用户
     * */
    private UserLogin user;
    /**
     *  当前编辑的图片id
     * */
    private Long pictureId;
}
